feat: redesign UI — migrate from PicoCSS to Bootstrap 5#46
Draft
mroderick wants to merge 4 commits into
Draft
Conversation
mroderick
force-pushed
the
feature/codebar-design-clean
branch
2 times, most recently
from
July 14, 2026 12:34
c292321 to
10e3229
Compare
till
reviewed
Jul 14, 2026
| <link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
| <link | ||
| href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap" |
Collaborator
Author
There was a problem hiding this comment.
Good point! I will fix that!
Collaborator
Author
There was a problem hiding this comment.
I've pushed a commit that fixes this, and have also fixed the similar issue in codebar/planner: codebar/planner#2714
Create shared STATIC_VERSION module and heroku-postbuild script. .version file is generated at build time from SOURCE_VERSION (set by Heroku during build), falling back to env vars then 'dev' for local.
Add Bootstrap 5.3 CSS and JS bundles, codebar brand stylesheet, and logo assets (PNG + SVG). Configure fallow to ignore static directory and eslint for static file patterns.
Replace PicoCSS colour classes with custom Bootstrap brand variants: - Alerts: alert-cb-error, alert-cb-success, alert-cb-info - Buttons: btn-cb-primary, btn-outline-danger (logout) - Layout: nav bar with codebar logo + 'auth' wordmark, system font stack - Cards: Bootstrap card with card-header-cb (magenta accent stripe) - Tables: Bootstrap table-hover with table-light header row - Home: centred welcome page with SVG logo for signed-out state - Profile: description list (dl.row) layout inside card - Login: centred layout with full-width auth method buttons - Navigation: links styled as outline-secondary buttons - All static asset URLs include version stamp via STATIC_VERSION
mroderick
force-pushed
the
feature/codebar-design-clean
branch
from
July 18, 2026 12:56
e95d9ad to
64bc1ee
Compare
Collaborator
Author
|
I had to add an extra commit 89a2e16 to fix a mistake I made in #48, where I didn't properly verify that things work in Heroku. In the new commit, we create a file that holds the version from SOURCE_VERSION during the post install step, as this is not available in the runtime environment 🤷 I tidied up the git history at the same time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Redesign all pages of the codebar auth app using Bootstrap 5 with the codebar brand palette. Switches from PicoCSS to Bootstrap 5, adds custom brand CSS, and restructures components/routes to match.
Commits
4066a9d1f2d9f19ec79e1Changes
data-bs-theme="auto"for dark modeTests
161/161 passing. Removed
FormSectionexport (no longer used),default callbackURL in GitHub OAuth changed to
/profile.